/*
                    Tilesheets Class Definition
*/

#ifndef TILESHEETS_H
#define TILESHEETS_H

#include "SDL/SDL.h"
#include "SDL/SDL_image.h"
#include "../Structs.h"
#include "../Functions.h"
#include "../NetworkDefinitions.h"
#include <string>
#include <map>

using namespace std;

class Tilesheets
{
    public:
        ~Tilesheets() {}

        static int Loadsheet(string strSheet);
        static bool SheetLoaded(string strSheet);

        static void Freesheets();

        static int BlitTile(string strSheet, Point srcPosition, Point dstPosition, SDL_Surface* screen);

        static map<string, SDL_Surface*> Sheets;

    private:
        Tilesheets() {}
};

#endif

